Detecting PoS malware is not something the average consumer is able to do. This is done by the organization's security team, however, there is a type of physical tampering of PoS terminals called "skimming" that everyone can detect.

Review this article by PCI Security Standards to see how terminals are being compromised:

https://docs-prv.pcisecuritystandards.org/Guidance%20Document/Skimming%20Prevention/Skimming_Prevention_BP_for_Merchants_Sept2014.pdf